package com.tao.erp.emp.pojo;

import com.tao.erp.utils.format.FormatUtil;

public class Emp {

	private Integer uuid;						//ID
	private String userName;					//登录用户名
	private String pwd;							//登录密码
	private String name;						//真实姓名
	private String email;						//EMail
	private String tele;						//
	private String address;						//住址
	private Integer gender;						//性别（0：女  1：男）
	private Long birthday;						//出生日期
	private Integer depUuid;					//部门ID
	private Long lastLoginTime;					//最后登录时间
	private String lastLoginIp;					//最后登录IP
	private Integer loginTimes;					//登录时长
	
	private String birthdayView;				//给页面传参数（birthday）
	private String lastLoginTimeView;			//给页面传参数（birthday）
	public Integer getUuid() {
		return uuid;
	}
	public void setUuid(Integer uuid) {
		this.uuid = uuid;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getTele() {
		return tele;
	}
	public void setTele(String tele) {
		this.tele = tele;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Integer getGender() {
		return gender;
	}
	public void setGender(Integer gender) {
		this.gender = gender;
	}
	public Long getBirthday() {
		return birthday;
	}
	public void setBirthday(Long birthday) {
		this.birthday = birthday;
		this.birthdayView = FormatUtil.formatDate(birthday);
	}
	public Integer getDepUuid() {
		return depUuid;
	}
	public void setDepUuid(Integer depUuid) {
		this.depUuid = depUuid;
	}
	public Long getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(Long lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
		this.lastLoginTimeView = FormatUtil.formatDate(lastLoginTime);
	}
	public String getLastLoginIp() {
		return lastLoginIp;
	}
	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}
	public Integer getLoginTimes() {
		return loginTimes;
	}
	public void setLoginTimes(Integer loginTimes) {
		this.loginTimes = loginTimes;
	}
	public String getBirthdayView() {
		return birthdayView;
	}
	public void setBirthdayView(String birthdayView) {
		this.birthdayView = birthdayView;
	}
	public String getLastLoginTimeView() {
		return lastLoginTimeView;
	}
	public void setLastLoginTimeView(String lastLoginTimeView) {
		this.lastLoginTimeView = lastLoginTimeView;
	}
	@Override
	public String toString() {
		return "emp [uuid=" + uuid + ", userName=" + userName + ", pwd=" + pwd
				+ ", name=" + name + ", email=" + email + ", tele=" + tele
				+ ", address=" + address + ", gender=" + gender + ", birthday="
				+ birthday + ", depUuid=" + depUuid + ", lastLoginTime="
				+ lastLoginTime + ", lastLoginIp=" + lastLoginIp
				+ ", loginTimes=" + loginTimes + ", birthdayView="
				+ birthdayView + ", lastLoginTimeView=" + lastLoginTimeView
				+ "]";
	} 	
	
	
}
